package com.molichuxing.gateway.bff.order.entity.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class OrderEnterpriseCarBizVo extends ResponseRootDto {
    private static final long serialVersionUID = 3019003440473543359L;

    @ApiModelProperty(value = "订单号")
    private Long orderCode;

    /**
     * 签约分子公司id（甲方） subcompany_id
     */
    @ApiModelProperty(value = "签约分子公司id（甲方）")
    private Integer subcompanyId;

    /**
     * 签约分子公司名称（甲方） subcompany_name
     */
    @ApiModelProperty(value = "签约分子公司名称（甲方）")
    private String subcompanyName;

    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;

    @ApiModelProperty(value = "车架号")
    private String vin;

    @ApiModelProperty(value = "车牌号")
    private String licencePlate;

    /**
     * 车型
     */
    @ApiModelProperty(value = "车型ID")
    private Integer modelId;

    @ApiModelProperty(value = "车型")
    private String modelName;

    @ApiModelProperty(value = "起租里程")
    private Integer startMileage;

    @ApiModelProperty(value = "车辆Id")
    private Integer carId;

    /*
     * 状态（1：待付款，2：待交车，3：待起租，4：租赁中，5：已退租，6：已过户，7：已续租）
     */
    @ApiModelProperty(value = " 状态（1：待付款，2：待交车，3：待起租，4：租赁中，5：已退租，6：已过户，7：已续租）")
    private Integer state;

    /**
     * 状态（0：未还款，1：已还款，2：已终止） state
     */
    @ApiModelProperty(value = "状态（1：待付款，2：待交车，3：待起租，4：租赁中，5：已退租，6：已过户，7：已续租）")
    private String stateStr;

    @ApiModelProperty(value = "起租日")
    private LocalDate leaseInception;


    @ApiModelProperty(value = "租赁截止日")
    private LocalDate leaseExpire;

    @ApiModelProperty(value = "合同签定日期")
    private LocalDate contractSignDate;

    /**
     * 接车人 enterprise_receiver
     */
    @ApiModelProperty(value = "接车人")
    private String enterpriseReceiver;

    @ApiModelProperty(value = "接车人身份证")
    private String enterpriseReceiverIdcard;

    @ApiModelProperty(value = "退租时间-交车时间")
    private LocalDateTime handoverTime;

    @ApiModelProperty(value = "过户时间")
    private LocalDateTime transferTime;

    @ApiModelProperty(value = "续租订单号")
    private Long childOrderCode;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gmtCreate;

    /**
     * 退租ID
     */
    @ApiModelProperty(value = "退租ID")
    private Integer carHandoverId;


}
